package com.eryos.gwt.mailmodule.shared;

import java.io.Serializable;

/**
 * Project :  mail-module
 * Author :   oliv
 * URL :      http://mail-module.eryos.fr
 *
 * Copyright (C) 2011 - oliv 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 *
 */

@SuppressWarnings("serial")
public class MailMessage implements Serializable {

	Person sender;
	String subject;
	String message;


	/**
	 * @return the subject
	 */
	public String getSubject() {
		return subject;
	}
	/**
	 * @param subject the subject to set
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	
	/**
	 * @param message the message to set
	 */
	public void setContent(String message) {
		this.message = message;
	}
	/**
	 * @return the sender
	 */
	public Person getSender() {
		return sender;
	}
	/**
	 * @param sender the sender to set
	 */
	public void setSender(Person sender) {
		this.sender = sender;
	}
	
	

}
